export const routes = [
  {
    path: '/home',
    name: 'Home',
    component: () => import('@/views/home/index.vue'),
    meta: {
      hidden:true
    }
  },
   {
    path: '/category',
    name: 'Category',
    component: () => import('@/views/category/index.vue'),
    meta: {
      hidden:true
    }
  },
   {
    path: '/recommend',
    name: 'Recommend',
    component: () => import('@/views/recommend/index.vue'),
    meta: {
      hidden:true
    }
  },
   {
    path: '/shopcart',
    name: 'ShopCart',
    component: () => import('@/views/shopcart/index.vue'),
    meta: {
      hidden:true
    }
  },
   {
    path: '/profile',
    name: 'Profile',
    component: () => import('@/views/profile/index.vue'),
    meta: {
      hidden:true
    }
  },
  {
    path: '/detail',
    name: 'Detail',
    component: () => import('@/views/detail/index.vue'),
    meta: {
    }
  },
  {
    path: '/search',
    name: 'Search',
    component: () => import('@/views/search/index.vue'),
    meta: {
    }
  },
	{
    path: '/login',
    name: 'Login',
    component: () => import('@/views/login/index.vue'),
    meta:{}
  },
  {
    path: '/register',
    name: 'Register',
    component: () => import('@/views/register/index.vue'),
    meta:{}
  },
  {
    path: '/*',
    redirect: '/home',
  }
]